﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace LoggerUtils
{
    public class Logger
    {
        public static void log(string msg)
        {
            TextWriter tw = File.AppendText(System.IO.Path.GetTempPath() + @"\pptest.log");
            tw.WriteLine("{0}: {1}", DateTime.Now.ToString("yyyyMMdd-hh:mm:ss.fff"), msg);
            tw.Close();
        }
    }
}
